@extends('front.common')
<link rel="stylesheet" type="text/css" href="/lib/front/index.css">
	<script src="/js/jquery-2.1.4.min.js"></script>
	<script src="/lib/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="/lib/front/main.css">
<link rel="stylesheet" type="text/css" href="/lib/front/reset.css">
	<link rel="stylesheet" type="text/css" href="/lib/front/main.css">
<link rel="stylesheet" type="text/css" href="/lib/front/reset.css">

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="/">首页</a>
    </div>
    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <div class="navbar-form navbar-right">
	 <form action="/search" method="post" style="display: inline-block;">
        <div class="form-group">
          <input type="text" class="form-control" id="searchid" name="searchvalue" placeholder="Search">
        </div>
        <input type="submit" class="btn btn-default" id="searchsky" value="搜索">
      </form>
      </div>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<div class="contenter">

	<div class="panel panel-default">
		<div class="panel-body">
			<div class="row">
		      <a class="col-xs-6 col-sm-6">
		      	<div><img class="jsj" src="http://images.china-pub.com/edition07/images2012/485150/yjll_458150.jpg"></div>
		      </a>
		      <a class="col-xs-6 col-sm-6">
		      	<div><img class="jsj" src="http://images.china-pub.com/edition07/images2012/485150/openstack_485150.jpg"></div>
		      </a>
		    </div>

			<div class="row">
			@foreach($goods as $value)
		      <a class="col-xs-6 col-sm-2" href="{{url('detail',['id'=>$value->id])}}">
		      	<div><img src="../storage/{{$value->img}}" class="indeximg"></div>
		      	<div>
		      		<p>
		      			{{$value->name}}
		      		</p>
		      		<p>
		      			价格：{{$value->cost}}
		      		</p>
		      	</div>
		      </a>
		      @endforeach
		   </div>
	</div>
</div>
<div class="hr_25"></div>
<div class="footer">
  <p><a href="#">我的书城简介</a><i>|</i><a href="#">公告</a><i>|</i> <a href="#">招纳贤士</a><i>|</i><a href="#">联系我们</a><i>|</i>客服热线：000-6705-1234</p>
  <p>Copyright &copy; 2017 - 2020 sky版权所有&nbsp;&nbsp;&nbsp;京ICP备09037834号&nbsp;&nbsp;&nbsp;京ICP证B1034-8373号&nbsp;&nbsp;&nbsp;某市公安局XX分局备案编号：123456789123</p>
  <p class="web"><a href="#"><img src="img/foot1.png" alt="logo">7天无理由退货</a><a href="#"><img src="img/foot2.png" alt="logo">15天免费换货</a><a href="#"><img src="img/foot3.png" alt="logo">满99包邮</a><a href="#"><img src="img/foot4.png" alt="logo">全心服务</a></p>
</div>